package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * This pojo holds  information about the status of a survey. It is used by hibernate to get data out of the database.
 * @author Kevin Mettenberger
 *
 */
@SuppressWarnings("serial")
public class Stage implements Serializable {
	private int id;
	private Set stagetexts = new HashSet();
	
	public Stage() {}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Set getStagetexts() {
		return stagetexts;
	}

	public void setStagetexts(Set stagetexts) {
		this.stagetexts = stagetexts;
	}
	
	public void addStagetext(StageText stagetext) {
		this.stagetexts.add(stagetext);
	}
	
	
}
